poly1 = polyshape([0.5 0 2 1 0.5],[1 0 0 1 1]);
poly2 = polyshape([0.75 1.25 1.25 0.75 0.75],[0.25 0.25 0.75 0.75 0.25]);
plot(poly1)
hold on
plot(poly2)